Discuss the following questions with a partner or small group. Jot down answers as you discuss, and email me the answers at borlaj@portlandschools.org
a. Explain the blocks in English. Why is the subtraction performed?
b. The X and Y property of an image sprite specify the location of the sprite. But a sprite is not a single point, so what does X and Y really denote? c. How is color defined in App Inventor? How is it defined in HTML? 5. The MoleMash tutorial (pdf) has you define a procedure.
6. Which blocks increment (add a point to) the score in MoleMash. How would you subtract? 7. When a row of blocks is performed, in what order are they performed? 8. Coordinate question: In the picture below:
If the canvas is 300 by 300 (meaning the upper left is 0,0 and the lower right is 300,300) a. What is the coordinate of the lower left corner: b. What is the coordinate of the upper left dot:
|